package groovypublish

class Author {
	static hasMany = [content:Post]
	String authorName
	String email
	String aboutMe

   static constraints = {
       authorName(size:0..40, nullable: false)
	   email(size:0..40, nullable: false)
	   aboutMe(size:0..999999999, nullable: true)
   }
    
   String toString() {
       "$authorName"
   }
}
